package com.coolw.dynamic.thread.pool.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 队列类型定义
 *
 * @author coolw
 * @date 2024/5/16 10:17
 */
@Getter
@AllArgsConstructor
public enum QueueTypeEnum {

    ARRAY_BLOCKING_QUEUE("ARRAY_BLOCKING_QUEUE", "基于数组实现的有界阻塞队列"),
    LINKED_BLOCKING_QUEUE("LINKED_BLOCKING_QUEUE", "基于链表实现的阻塞队列");

    private final String code;

    private final String message;
}
